using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "CombineInformationSO", menuName = "Data/CombineInformationSO")]
public class CombineInformationSO : ScriptableObject
{
    public List<CombineInfomation> combineInfomations = new List<CombineInfomation>();

    // public int Query(int id0, int id1)
    // {
    //     foreach (CombineInfomation combineInfomation in combineInfomations)
    //     {
    //         if (combineInfomation.id0 == id0 && combineInfomation.id1 == id1)
    //         {
    //             return combineInfomation.targetId;
    //         }
    //     }
    //     foreach (CombineInfomation combineInfomation in combineInfomations)
    //     {
    //         if (combineInfomation.id0 == id1 && combineInfomation.id1 == id0)
    //         {
    //             return combineInfomation.targetId;
    //         }
    //     }
    //     return -1;
    // }
}
[Serializable]
public class CombineInfomation
{
    public List<int> combineIds = new List<int>();
    public int targetId;
    public string description;
}
